package com.ys.entity.business;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_report].[dbo].TP_AnalysisDailyTarget", catalog="Id")
public class TpAnalysisDailyTarget extends BaseEntity<TpAnalysisDailyTarget> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="VGsBm", nameJava="vGsBm", typeDataBase="varchar")
	private String vGsBm;
	@YsField(nameDataBase="InfoTime", nameJava="infoTime", typeDataBase="char")
	private String infoTime;
	@YsField(nameDataBase="TargetSetId", nameJava="targetSetId", typeDataBase="bigint")
	private Long targetSetId;
	@YsField(nameDataBase="GrowthRate", nameJava="growthRate", typeDataBase="decimal")
	private BigDecimal growthRate;
	@YsField(nameDataBase="AccumulateOrder", nameJava="accumulateOrder", typeDataBase="int")
	private Integer accumulateOrder;
	@YsField(nameDataBase="TodayOrder", nameJava="todayOrder", typeDataBase="int")
	private Integer todayOrder;
	@YsField(nameDataBase="TimeSchedule", nameJava="timeSchedule", typeDataBase="decimal")
	private BigDecimal timeSchedule;
	@YsField(nameDataBase="ProductType", nameJava="productType", typeDataBase="tinyint")
	private Integer productType;
	@YsField(nameDataBase="VGsJc", nameJava="vGsJc", typeDataBase="varchar")
	private String vGsJc;
	@YsField(nameDataBase="PVGsJc", nameJava="pVGsJc", typeDataBase="varchar")
	private String pVGsJc;
	@YsField(nameDataBase="CUser", nameJava="cUser", typeDataBase="varchar")
	private String cUser;
	@YsField(nameDataBase="CUserName", nameJava="cUserName", typeDataBase="varchar")
	private String cUserName;
	@YsField(nameDataBase="CDeptName", nameJava="cDeptName", typeDataBase="varchar")
	private String cDeptName;
	@YsField(nameDataBase="PCUser", nameJava="pCUser", typeDataBase="varchar")
	private String pCUser;
	@YsField(nameDataBase="PCUserName", nameJava="pCUserName", typeDataBase="varchar")
	private String pCUserName;
	@YsField(nameDataBase="PCDeptName", nameJava="pCDeptName", typeDataBase="varchar")
	private String pCDeptName;
	@YsField(nameDataBase="RegionName", nameJava="regionName", typeDataBase="varchar")
	private String regionName;
	@YsField(nameDataBase="FirstSaleDay", nameJava="firstSaleDay", typeDataBase="char")
	private String firstSaleDay;
	@YsField(nameDataBase="TodayAmount", nameJava="todayAmount", typeDataBase="decimal")
	private BigDecimal todayAmount;
	@YsField(nameDataBase="AccumulateAmount", nameJava="accumulateAmount", typeDataBase="decimal")
	private BigDecimal accumulateAmount;
	@YsField(nameDataBase="TodayAmountLocal", nameJava="todayAmountLocal", typeDataBase="decimal")
	private BigDecimal todayAmountLocal;
	@YsField(nameDataBase="AccumulateAmountLocal", nameJava="accumulateAmountLocal", typeDataBase="decimal")
	private BigDecimal accumulateAmountLocal;
	@YsField(nameDataBase="OrgName", nameJava="orgName", typeDataBase="varchar")
	private String orgName;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpAnalysisDailyTarget setId(Long id) {
		this.id = id;
		return this;
	}
	public String getVGsBm() {
		return vGsBm;
	}
	public TpAnalysisDailyTarget setVGsBm(String vGsBm) {
		this.vGsBm = vGsBm;
		return this;
	}
	public String getInfoTime() {
		return infoTime;
	}
	public TpAnalysisDailyTarget setInfoTime(String infoTime) {
		this.infoTime = infoTime;
		return this;
	}
	public Long getTargetSetId() {
		return targetSetId;
	}
	public TpAnalysisDailyTarget setTargetSetId(Long targetSetId) {
		this.targetSetId = targetSetId;
		return this;
	}
	public BigDecimal getGrowthRate() {
		return growthRate;
	}
	public TpAnalysisDailyTarget setGrowthRate(BigDecimal growthRate) {
		this.growthRate = growthRate;
		return this;
	}
	public Integer getAccumulateOrder() {
		return accumulateOrder;
	}
	public TpAnalysisDailyTarget setAccumulateOrder(Integer accumulateOrder) {
		this.accumulateOrder = accumulateOrder;
		return this;
	}
	public Integer getTodayOrder() {
		return todayOrder;
	}
	public TpAnalysisDailyTarget setTodayOrder(Integer todayOrder) {
		this.todayOrder = todayOrder;
		return this;
	}
	public BigDecimal getTimeSchedule() {
		return timeSchedule;
	}
	public TpAnalysisDailyTarget setTimeSchedule(BigDecimal timeSchedule) {
		this.timeSchedule = timeSchedule;
		return this;
	}
	public Integer getProductType() {
		return productType;
	}
	public TpAnalysisDailyTarget setProductType(Integer productType) {
		this.productType = productType;
		return this;
	}
	public String getVGsJc() {
		return vGsJc;
	}
	public TpAnalysisDailyTarget setVGsJc(String vGsJc) {
		this.vGsJc = vGsJc;
		return this;
	}
	public String getPVGsJc() {
		return pVGsJc;
	}
	public TpAnalysisDailyTarget setPVGsJc(String pVGsJc) {
		this.pVGsJc = pVGsJc;
		return this;
	}
	public String getCUser() {
		return cUser;
	}
	public TpAnalysisDailyTarget setCUser(String cUser) {
		this.cUser = cUser;
		return this;
	}
	public String getCUserName() {
		return cUserName;
	}
	public TpAnalysisDailyTarget setCUserName(String cUserName) {
		this.cUserName = cUserName;
		return this;
	}
	public String getCDeptName() {
		return cDeptName;
	}
	public TpAnalysisDailyTarget setCDeptName(String cDeptName) {
		this.cDeptName = cDeptName;
		return this;
	}
	public String getPCUser() {
		return pCUser;
	}
	public TpAnalysisDailyTarget setPCUser(String pCUser) {
		this.pCUser = pCUser;
		return this;
	}
	public String getPCUserName() {
		return pCUserName;
	}
	public TpAnalysisDailyTarget setPCUserName(String pCUserName) {
		this.pCUserName = pCUserName;
		return this;
	}
	public String getPCDeptName() {
		return pCDeptName;
	}
	public TpAnalysisDailyTarget setPCDeptName(String pCDeptName) {
		this.pCDeptName = pCDeptName;
		return this;
	}
	public String getRegionName() {
		return regionName;
	}
	public TpAnalysisDailyTarget setRegionName(String regionName) {
		this.regionName = regionName;
		return this;
	}
	public String getFirstSaleDay() {
		return firstSaleDay;
	}
	public TpAnalysisDailyTarget setFirstSaleDay(String firstSaleDay) {
		this.firstSaleDay = firstSaleDay;
		return this;
	}
	public BigDecimal getTodayAmount() {
		return todayAmount;
	}
	public TpAnalysisDailyTarget setTodayAmount(BigDecimal todayAmount) {
		this.todayAmount = todayAmount;
		return this;
	}
	public BigDecimal getAccumulateAmount() {
		return accumulateAmount;
	}
	public TpAnalysisDailyTarget setAccumulateAmount(BigDecimal accumulateAmount) {
		this.accumulateAmount = accumulateAmount;
		return this;
	}
	public BigDecimal getTodayAmountLocal() {
		return todayAmountLocal;
	}
	public TpAnalysisDailyTarget setTodayAmountLocal(BigDecimal todayAmountLocal) {
		this.todayAmountLocal = todayAmountLocal;
		return this;
	}
	public BigDecimal getAccumulateAmountLocal() {
		return accumulateAmountLocal;
	}
	public TpAnalysisDailyTarget setAccumulateAmountLocal(BigDecimal accumulateAmountLocal) {
		this.accumulateAmountLocal = accumulateAmountLocal;
		return this;
	}
	public String getOrgName() {
		return orgName;
	}
	public TpAnalysisDailyTarget setOrgName(String orgName) {
		this.orgName = orgName;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpAnalysisDailyTarget setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpAnalysisDailyTarget setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpAnalysisDailyTarget setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpAnalysisDailyTarget tpAnalysisDailyTarget(
		String vGsBm,
		String infoTime,
		Long targetSetId,
		BigDecimal growthRate,
		Integer accumulateOrder,
		Integer todayOrder,
		BigDecimal timeSchedule,
		Integer productType,
		String vGsJc,
		String pVGsJc,
		String cUser,
		String cUserName,
		String cDeptName,
		String pCUser,
		String pCUserName,
		String pCDeptName,
		String regionName,
		String firstSaleDay,
		BigDecimal todayAmount,
		BigDecimal accumulateAmount,
		BigDecimal todayAmountLocal,
		BigDecimal accumulateAmountLocal,
		String orgName,
		Integer status
			) {
		TpAnalysisDailyTarget entity = new TpAnalysisDailyTarget();
		entity.setVGsBm(vGsBm);
		entity.setInfoTime(infoTime);
		entity.setTargetSetId(targetSetId);
		entity.setGrowthRate(growthRate);
		entity.setAccumulateOrder(accumulateOrder);
		entity.setTodayOrder(todayOrder);
		entity.setTimeSchedule(timeSchedule);
		entity.setProductType(productType);
		entity.setVGsJc(vGsJc);
		entity.setPVGsJc(pVGsJc);
		entity.setCUser(cUser);
		entity.setCUserName(cUserName);
		entity.setCDeptName(cDeptName);
		entity.setPCUser(pCUser);
		entity.setPCUserName(pCUserName);
		entity.setPCDeptName(pCDeptName);
		entity.setRegionName(regionName);
		entity.setFirstSaleDay(firstSaleDay);
		entity.setTodayAmount(todayAmount);
		entity.setAccumulateAmount(accumulateAmount);
		entity.setTodayAmountLocal(todayAmountLocal);
		entity.setAccumulateAmountLocal(accumulateAmountLocal);
		entity.setOrgName(orgName);
		entity.setStatus(status);
		return entity;
	}
}